package com.ecnu.system.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ecnu.system.domain.ProjectAnnouncementFile;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ProjectAnnouncementDTO {


    @ApiModelProperty(value = "编号")
    private String id;


    @ApiModelProperty(value = "标题")
    private String title;

    @NotBlank(message = "活动id不能为空")
    @ApiModelProperty(value = "活动id")
    private String proId;

    @ApiModelProperty(value = "介绍")
    private String introduction;

    @ApiModelProperty(value = "是否置顶（0否，1是）")
    private String isTop ="0";

    @ApiModelProperty(value = "附件")
    private List<ProjectAnnouncementFile> announcementFileList;

}
